package cn.sangyy.gift.mapper;

import cn.sangyy.gift.domain.User;
import cn.sangyy.gift.query.UserQuery;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;

import java.util.List;

/**
 * <p>
 * 会员登录账号 Mapper 接口
 * </p>
 *
 * @author sangyy
 * @since 2023-06-20
 */
public interface UserMapper extends BaseMapper<User> {

    List<User> getList(Page<User> page, UserQuery query);

    void offById(Long id);

    void relieve(Long id);
}
